package cn.flying.financial.ccs.controller.web;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 
 * @author: lvyong
 * @date: 2023年01月31日 19:44
 * @version: 1.0
 */
@RestController
public class DemoController {

    @PostMapping("hello")
    public String hello(HttpServletRequest request) {
        System.out.println(request.getHeader("tokenInfo"));
        System.out.println("this is ccs hello");
        return "this is ccs hello";
    }
}
